import React from 'react'
import { connect } from 'react-redux'
class ComB extends React.Component {
  render() {
    return <div>{this.props.count}</div>
  }
}
const mapStatetoProps = (state) => {
  return state
}
export default connect(mapStatetoProps)(ComB)
